package cn.sunlight.wordread.pojo;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: ProjectExperience
 * @Description: 项目经验实体
 * @Author: sunlight
 * @Date: 11:05 - 2022/3/8
 * @Version: 1.0
 **/
public class ProjectExperience implements Serializable {

    private static final long serialVersionUID = -9021564427675752484L;

    private Long projectId;
    private Long resumeId;
    private Date startTime;//开始时间
    private Date endTime;//结束时间
    private String projectName; //项目名称
    private String holdPosition; //担任职位
    private String projectDesc; //项目描述
    private String responsibilities; //项目职责
    private String performance; //项目业绩

    public ProjectExperience() {
    }

    public ProjectExperience(Long projectId, Long resumeId, Date startTime, Date endTime, String projectName, String holdPosition, String projectDesc, String responsibilities, String performance) {
        this.projectId = projectId;
        this.resumeId = resumeId;
        this.startTime = startTime;
        this.endTime = endTime;
        this.projectName = projectName;
        this.holdPosition = holdPosition;
        this.projectDesc = projectDesc;
        this.responsibilities = responsibilities;
        this.performance = performance;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getResumeId() {
        return resumeId;
    }

    public void setResumeId(Long resumeId) {
        this.resumeId = resumeId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getHoldPosition() {
        return holdPosition;
    }

    public void setHoldPosition(String holdPosition) {
        this.holdPosition = holdPosition;
    }

    public String getProjectDesc() {
        return projectDesc;
    }

    public void setProjectDesc(String projectDesc) {
        this.projectDesc = projectDesc;
    }

    public String getResponsibilities() {
        return responsibilities;
    }

    public void setResponsibilities(String responsibilities) {
        this.responsibilities = responsibilities;
    }

    public String getPerformance() {
        return performance;
    }

    public void setPerformance(String performance) {
        this.performance = performance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("projectId",getProjectId())
                .append("resumeId",getResumeId())
                .append("startTime",getStartTime())
                .append("endTime",getEndTime())
                .append("projectName",getProjectName())
                .append("holdPosition",getHoldPosition())
                .append("projectDesc",getProjectDesc())
                .append("responsibilities",getResponsibilities())
                .append("performance",getPerformance())
                .toString();
    }
}
